package com.example.cloudcashierpos.dao;

import java.util.Map;

import org.greenrobot.greendao.AbstractDao;
import org.greenrobot.greendao.AbstractDaoSession;
import org.greenrobot.greendao.database.Database;
import org.greenrobot.greendao.identityscope.IdentityScopeType;
import org.greenrobot.greendao.internal.DaoConfig;

import com.example.cloudcashierpos.bean.Goods;
import com.example.cloudcashierpos.bean.User;
import com.example.cloudcashierpos.bean.corecmsdepartment;
import com.example.cloudcashierpos.bean.corecmsdiscountrules;
import com.example.cloudcashierpos.bean.corecmsexchange;
import com.example.cloudcashierpos.bean.corecmsfood;
import com.example.cloudcashierpos.bean.corecmsfoodcategory;
import com.example.cloudcashierpos.bean.corecmsfooddesk;
import com.example.cloudcashierpos.bean.corecmsfooddeskcategory;
import com.example.cloudcashierpos.bean.corecmsfooddetailfeed;
import com.example.cloudcashierpos.bean.corecmsfooddetailgroup;
import com.example.cloudcashierpos.bean.corecmsfooddetailtask;
import com.example.cloudcashierpos.bean.corecmsfoodfeed;
import com.example.cloudcashierpos.bean.corecmsfoodfeedcategory;
import com.example.cloudcashierpos.bean.corecmsfoodgradeprice;
import com.example.cloudcashierpos.bean.corecmsfoodgroupdetail;
import com.example.cloudcashierpos.bean.corecmsfoodorderclass;
import com.example.cloudcashierpos.bean.corecmsfoodorderdetail;
import com.example.cloudcashierpos.bean.corecmsfoodorderfeed;
import com.example.cloudcashierpos.bean.corecmsfoodordering;
import com.example.cloudcashierpos.bean.corecmsfoodorderingfeed;
import com.example.cloudcashierpos.bean.corecmsfoodorderingmaster;
import com.example.cloudcashierpos.bean.corecmsfoodorderingtag;
import com.example.cloudcashierpos.bean.corecmsfoodorderingtask;
import com.example.cloudcashierpos.bean.corecmsfoodordermaster;
import com.example.cloudcashierpos.bean.corecmsfoodorderpayment;
import com.example.cloudcashierpos.bean.corecmsfoodordertag;
import com.example.cloudcashierpos.bean.corecmsfoodordertask;
import com.example.cloudcashierpos.bean.corecmsfoodpack;
import com.example.cloudcashierpos.bean.corecmsfoodpackdetail;
import com.example.cloudcashierpos.bean.corecmsfoodprintscheme;
import com.example.cloudcashierpos.bean.corecmsfoodsoldout;
import com.example.cloudcashierpos.bean.corecmsfoodspec;
import com.example.cloudcashierpos.bean.corecmsfoodtag;
import com.example.cloudcashierpos.bean.corecmsfoodtask;
import com.example.cloudcashierpos.bean.corecmsfoodtaskcategory;
import com.example.cloudcashierpos.bean.corecmsnumberdetail;
import com.example.cloudcashierpos.bean.corecmspayments;
import com.example.cloudcashierpos.bean.corecmsprintbilltemplate;
import com.example.cloudcashierpos.bean.corecmsprintbilltype;
import com.example.cloudcashierpos.bean.corecmsprintdeskcategory;
import com.example.cloudcashierpos.bean.corecmsprintscheme;
import com.example.cloudcashierpos.bean.corecmsprintschemedetail;
import com.example.cloudcashierpos.bean.corecmsprinttaskdetail;
import com.example.cloudcashierpos.bean.corecmsstore;
import com.example.cloudcashierpos.bean.corecmsstoremarket;
import com.example.cloudcashierpos.bean.corecmsuser;
import com.example.cloudcashierpos.bean.corecmsuserdepositrules;
import com.example.cloudcashierpos.bean.corecmsusergrade;
import com.example.cloudcashierpos.bean.corecmsuserintegralrules;
import com.example.cloudcashierpos.bean.corecmsuserpoint;
import com.example.cloudcashierpos.bean.sysrolepos;
import com.example.cloudcashierpos.bean.sysuser;

import com.example.cloudcashierpos.dao.GoodsDao;
import com.example.cloudcashierpos.dao.UserDao;
import com.example.cloudcashierpos.dao.corecmsdepartmentDao;
import com.example.cloudcashierpos.dao.corecmsdiscountrulesDao;
import com.example.cloudcashierpos.dao.corecmsexchangeDao;
import com.example.cloudcashierpos.dao.corecmsfoodDao;
import com.example.cloudcashierpos.dao.corecmsfoodcategoryDao;
import com.example.cloudcashierpos.dao.corecmsfooddeskDao;
import com.example.cloudcashierpos.dao.corecmsfooddeskcategoryDao;
import com.example.cloudcashierpos.dao.corecmsfooddetailfeedDao;
import com.example.cloudcashierpos.dao.corecmsfooddetailgroupDao;
import com.example.cloudcashierpos.dao.corecmsfooddetailtaskDao;
import com.example.cloudcashierpos.dao.corecmsfoodfeedDao;
import com.example.cloudcashierpos.dao.corecmsfoodfeedcategoryDao;
import com.example.cloudcashierpos.dao.corecmsfoodgradepriceDao;
import com.example.cloudcashierpos.dao.corecmsfoodgroupdetailDao;
import com.example.cloudcashierpos.dao.corecmsfoodorderclassDao;
import com.example.cloudcashierpos.dao.corecmsfoodorderdetailDao;
import com.example.cloudcashierpos.dao.corecmsfoodorderfeedDao;
import com.example.cloudcashierpos.dao.corecmsfoodorderingDao;
import com.example.cloudcashierpos.dao.corecmsfoodorderingfeedDao;
import com.example.cloudcashierpos.dao.corecmsfoodorderingmasterDao;
import com.example.cloudcashierpos.dao.corecmsfoodorderingtagDao;
import com.example.cloudcashierpos.dao.corecmsfoodorderingtaskDao;
import com.example.cloudcashierpos.dao.corecmsfoodordermasterDao;
import com.example.cloudcashierpos.dao.corecmsfoodorderpaymentDao;
import com.example.cloudcashierpos.dao.corecmsfoodordertagDao;
import com.example.cloudcashierpos.dao.corecmsfoodordertaskDao;
import com.example.cloudcashierpos.dao.corecmsfoodpackDao;
import com.example.cloudcashierpos.dao.corecmsfoodpackdetailDao;
import com.example.cloudcashierpos.dao.corecmsfoodprintschemeDao;
import com.example.cloudcashierpos.dao.corecmsfoodsoldoutDao;
import com.example.cloudcashierpos.dao.corecmsfoodspecDao;
import com.example.cloudcashierpos.dao.corecmsfoodtagDao;
import com.example.cloudcashierpos.dao.corecmsfoodtaskDao;
import com.example.cloudcashierpos.dao.corecmsfoodtaskcategoryDao;
import com.example.cloudcashierpos.dao.corecmsnumberdetailDao;
import com.example.cloudcashierpos.dao.corecmspaymentsDao;
import com.example.cloudcashierpos.dao.corecmsprintbilltemplateDao;
import com.example.cloudcashierpos.dao.corecmsprintbilltypeDao;
import com.example.cloudcashierpos.dao.corecmsprintdeskcategoryDao;
import com.example.cloudcashierpos.dao.corecmsprintschemeDao;
import com.example.cloudcashierpos.dao.corecmsprintschemedetailDao;
import com.example.cloudcashierpos.dao.corecmsprinttaskdetailDao;
import com.example.cloudcashierpos.dao.corecmsstoreDao;
import com.example.cloudcashierpos.dao.corecmsstoremarketDao;
import com.example.cloudcashierpos.dao.corecmsuserDao;
import com.example.cloudcashierpos.dao.corecmsuserdepositrulesDao;
import com.example.cloudcashierpos.dao.corecmsusergradeDao;
import com.example.cloudcashierpos.dao.corecmsuserintegralrulesDao;
import com.example.cloudcashierpos.dao.corecmsuserpointDao;
import com.example.cloudcashierpos.dao.sysroleposDao;
import com.example.cloudcashierpos.dao.sysuserDao;

// THIS CODE IS GENERATED BY greenDAO, DO NOT EDIT.

/**
 * {@inheritDoc}
 * 
 * @see org.greenrobot.greendao.AbstractDaoSession
 */
public class DaoSession extends AbstractDaoSession {

    private final DaoConfig goodsDaoConfig;
    private final DaoConfig userDaoConfig;
    private final DaoConfig corecmsdepartmentDaoConfig;
    private final DaoConfig corecmsdiscountrulesDaoConfig;
    private final DaoConfig corecmsexchangeDaoConfig;
    private final DaoConfig corecmsfoodDaoConfig;
    private final DaoConfig corecmsfoodcategoryDaoConfig;
    private final DaoConfig corecmsfooddeskDaoConfig;
    private final DaoConfig corecmsfooddeskcategoryDaoConfig;
    private final DaoConfig corecmsfooddetailfeedDaoConfig;
    private final DaoConfig corecmsfooddetailgroupDaoConfig;
    private final DaoConfig corecmsfooddetailtaskDaoConfig;
    private final DaoConfig corecmsfoodfeedDaoConfig;
    private final DaoConfig corecmsfoodfeedcategoryDaoConfig;
    private final DaoConfig corecmsfoodgradepriceDaoConfig;
    private final DaoConfig corecmsfoodgroupdetailDaoConfig;
    private final DaoConfig corecmsfoodorderclassDaoConfig;
    private final DaoConfig corecmsfoodorderdetailDaoConfig;
    private final DaoConfig corecmsfoodorderfeedDaoConfig;
    private final DaoConfig corecmsfoodorderingDaoConfig;
    private final DaoConfig corecmsfoodorderingfeedDaoConfig;
    private final DaoConfig corecmsfoodorderingmasterDaoConfig;
    private final DaoConfig corecmsfoodorderingtagDaoConfig;
    private final DaoConfig corecmsfoodorderingtaskDaoConfig;
    private final DaoConfig corecmsfoodordermasterDaoConfig;
    private final DaoConfig corecmsfoodorderpaymentDaoConfig;
    private final DaoConfig corecmsfoodordertagDaoConfig;
    private final DaoConfig corecmsfoodordertaskDaoConfig;
    private final DaoConfig corecmsfoodpackDaoConfig;
    private final DaoConfig corecmsfoodpackdetailDaoConfig;
    private final DaoConfig corecmsfoodprintschemeDaoConfig;
    private final DaoConfig corecmsfoodsoldoutDaoConfig;
    private final DaoConfig corecmsfoodspecDaoConfig;
    private final DaoConfig corecmsfoodtagDaoConfig;
    private final DaoConfig corecmsfoodtaskDaoConfig;
    private final DaoConfig corecmsfoodtaskcategoryDaoConfig;
    private final DaoConfig corecmsnumberdetailDaoConfig;
    private final DaoConfig corecmspaymentsDaoConfig;
    private final DaoConfig corecmsprintbilltemplateDaoConfig;
    private final DaoConfig corecmsprintbilltypeDaoConfig;
    private final DaoConfig corecmsprintdeskcategoryDaoConfig;
    private final DaoConfig corecmsprintschemeDaoConfig;
    private final DaoConfig corecmsprintschemedetailDaoConfig;
    private final DaoConfig corecmsprinttaskdetailDaoConfig;
    private final DaoConfig corecmsstoreDaoConfig;
    private final DaoConfig corecmsstoremarketDaoConfig;
    private final DaoConfig corecmsuserDaoConfig;
    private final DaoConfig corecmsuserdepositrulesDaoConfig;
    private final DaoConfig corecmsusergradeDaoConfig;
    private final DaoConfig corecmsuserintegralrulesDaoConfig;
    private final DaoConfig corecmsuserpointDaoConfig;
    private final DaoConfig sysroleposDaoConfig;
    private final DaoConfig sysuserDaoConfig;

    private final GoodsDao goodsDao;
    private final UserDao userDao;
    private final corecmsdepartmentDao corecmsdepartmentDao;
    private final corecmsdiscountrulesDao corecmsdiscountrulesDao;
    private final corecmsexchangeDao corecmsexchangeDao;
    private final corecmsfoodDao corecmsfoodDao;
    private final corecmsfoodcategoryDao corecmsfoodcategoryDao;
    private final corecmsfooddeskDao corecmsfooddeskDao;
    private final corecmsfooddeskcategoryDao corecmsfooddeskcategoryDao;
    private final corecmsfooddetailfeedDao corecmsfooddetailfeedDao;
    private final corecmsfooddetailgroupDao corecmsfooddetailgroupDao;
    private final corecmsfooddetailtaskDao corecmsfooddetailtaskDao;
    private final corecmsfoodfeedDao corecmsfoodfeedDao;
    private final corecmsfoodfeedcategoryDao corecmsfoodfeedcategoryDao;
    private final corecmsfoodgradepriceDao corecmsfoodgradepriceDao;
    private final corecmsfoodgroupdetailDao corecmsfoodgroupdetailDao;
    private final corecmsfoodorderclassDao corecmsfoodorderclassDao;
    private final corecmsfoodorderdetailDao corecmsfoodorderdetailDao;
    private final corecmsfoodorderfeedDao corecmsfoodorderfeedDao;
    private final corecmsfoodorderingDao corecmsfoodorderingDao;
    private final corecmsfoodorderingfeedDao corecmsfoodorderingfeedDao;
    private final corecmsfoodorderingmasterDao corecmsfoodorderingmasterDao;
    private final corecmsfoodorderingtagDao corecmsfoodorderingtagDao;
    private final corecmsfoodorderingtaskDao corecmsfoodorderingtaskDao;
    private final corecmsfoodordermasterDao corecmsfoodordermasterDao;
    private final corecmsfoodorderpaymentDao corecmsfoodorderpaymentDao;
    private final corecmsfoodordertagDao corecmsfoodordertagDao;
    private final corecmsfoodordertaskDao corecmsfoodordertaskDao;
    private final corecmsfoodpackDao corecmsfoodpackDao;
    private final corecmsfoodpackdetailDao corecmsfoodpackdetailDao;
    private final corecmsfoodprintschemeDao corecmsfoodprintschemeDao;
    private final corecmsfoodsoldoutDao corecmsfoodsoldoutDao;
    private final corecmsfoodspecDao corecmsfoodspecDao;
    private final corecmsfoodtagDao corecmsfoodtagDao;
    private final corecmsfoodtaskDao corecmsfoodtaskDao;
    private final corecmsfoodtaskcategoryDao corecmsfoodtaskcategoryDao;
    private final corecmsnumberdetailDao corecmsnumberdetailDao;
    private final corecmspaymentsDao corecmspaymentsDao;
    private final corecmsprintbilltemplateDao corecmsprintbilltemplateDao;
    private final corecmsprintbilltypeDao corecmsprintbilltypeDao;
    private final corecmsprintdeskcategoryDao corecmsprintdeskcategoryDao;
    private final corecmsprintschemeDao corecmsprintschemeDao;
    private final corecmsprintschemedetailDao corecmsprintschemedetailDao;
    private final corecmsprinttaskdetailDao corecmsprinttaskdetailDao;
    private final corecmsstoreDao corecmsstoreDao;
    private final corecmsstoremarketDao corecmsstoremarketDao;
    private final corecmsuserDao corecmsuserDao;
    private final corecmsuserdepositrulesDao corecmsuserdepositrulesDao;
    private final corecmsusergradeDao corecmsusergradeDao;
    private final corecmsuserintegralrulesDao corecmsuserintegralrulesDao;
    private final corecmsuserpointDao corecmsuserpointDao;
    private final sysroleposDao sysroleposDao;
    private final sysuserDao sysuserDao;

    public DaoSession(Database db, IdentityScopeType type, Map<Class<? extends AbstractDao<?, ?>>, DaoConfig>
            daoConfigMap) {
        super(db);

        goodsDaoConfig = daoConfigMap.get(GoodsDao.class).clone();
        goodsDaoConfig.initIdentityScope(type);

        userDaoConfig = daoConfigMap.get(UserDao.class).clone();
        userDaoConfig.initIdentityScope(type);

        corecmsdepartmentDaoConfig = daoConfigMap.get(corecmsdepartmentDao.class).clone();
        corecmsdepartmentDaoConfig.initIdentityScope(type);

        corecmsdiscountrulesDaoConfig = daoConfigMap.get(corecmsdiscountrulesDao.class).clone();
        corecmsdiscountrulesDaoConfig.initIdentityScope(type);

        corecmsexchangeDaoConfig = daoConfigMap.get(corecmsexchangeDao.class).clone();
        corecmsexchangeDaoConfig.initIdentityScope(type);

        corecmsfoodDaoConfig = daoConfigMap.get(corecmsfoodDao.class).clone();
        corecmsfoodDaoConfig.initIdentityScope(type);

        corecmsfoodcategoryDaoConfig = daoConfigMap.get(corecmsfoodcategoryDao.class).clone();
        corecmsfoodcategoryDaoConfig.initIdentityScope(type);

        corecmsfooddeskDaoConfig = daoConfigMap.get(corecmsfooddeskDao.class).clone();
        corecmsfooddeskDaoConfig.initIdentityScope(type);

        corecmsfooddeskcategoryDaoConfig = daoConfigMap.get(corecmsfooddeskcategoryDao.class).clone();
        corecmsfooddeskcategoryDaoConfig.initIdentityScope(type);

        corecmsfooddetailfeedDaoConfig = daoConfigMap.get(corecmsfooddetailfeedDao.class).clone();
        corecmsfooddetailfeedDaoConfig.initIdentityScope(type);

        corecmsfooddetailgroupDaoConfig = daoConfigMap.get(corecmsfooddetailgroupDao.class).clone();
        corecmsfooddetailgroupDaoConfig.initIdentityScope(type);

        corecmsfooddetailtaskDaoConfig = daoConfigMap.get(corecmsfooddetailtaskDao.class).clone();
        corecmsfooddetailtaskDaoConfig.initIdentityScope(type);

        corecmsfoodfeedDaoConfig = daoConfigMap.get(corecmsfoodfeedDao.class).clone();
        corecmsfoodfeedDaoConfig.initIdentityScope(type);

        corecmsfoodfeedcategoryDaoConfig = daoConfigMap.get(corecmsfoodfeedcategoryDao.class).clone();
        corecmsfoodfeedcategoryDaoConfig.initIdentityScope(type);

        corecmsfoodgradepriceDaoConfig = daoConfigMap.get(corecmsfoodgradepriceDao.class).clone();
        corecmsfoodgradepriceDaoConfig.initIdentityScope(type);

        corecmsfoodgroupdetailDaoConfig = daoConfigMap.get(corecmsfoodgroupdetailDao.class).clone();
        corecmsfoodgroupdetailDaoConfig.initIdentityScope(type);

        corecmsfoodorderclassDaoConfig = daoConfigMap.get(corecmsfoodorderclassDao.class).clone();
        corecmsfoodorderclassDaoConfig.initIdentityScope(type);

        corecmsfoodorderdetailDaoConfig = daoConfigMap.get(corecmsfoodorderdetailDao.class).clone();
        corecmsfoodorderdetailDaoConfig.initIdentityScope(type);

        corecmsfoodorderfeedDaoConfig = daoConfigMap.get(corecmsfoodorderfeedDao.class).clone();
        corecmsfoodorderfeedDaoConfig.initIdentityScope(type);

        corecmsfoodorderingDaoConfig = daoConfigMap.get(corecmsfoodorderingDao.class).clone();
        corecmsfoodorderingDaoConfig.initIdentityScope(type);

        corecmsfoodorderingfeedDaoConfig = daoConfigMap.get(corecmsfoodorderingfeedDao.class).clone();
        corecmsfoodorderingfeedDaoConfig.initIdentityScope(type);

        corecmsfoodorderingmasterDaoConfig = daoConfigMap.get(corecmsfoodorderingmasterDao.class).clone();
        corecmsfoodorderingmasterDaoConfig.initIdentityScope(type);

        corecmsfoodorderingtagDaoConfig = daoConfigMap.get(corecmsfoodorderingtagDao.class).clone();
        corecmsfoodorderingtagDaoConfig.initIdentityScope(type);

        corecmsfoodorderingtaskDaoConfig = daoConfigMap.get(corecmsfoodorderingtaskDao.class).clone();
        corecmsfoodorderingtaskDaoConfig.initIdentityScope(type);

        corecmsfoodordermasterDaoConfig = daoConfigMap.get(corecmsfoodordermasterDao.class).clone();
        corecmsfoodordermasterDaoConfig.initIdentityScope(type);

        corecmsfoodorderpaymentDaoConfig = daoConfigMap.get(corecmsfoodorderpaymentDao.class).clone();
        corecmsfoodorderpaymentDaoConfig.initIdentityScope(type);

        corecmsfoodordertagDaoConfig = daoConfigMap.get(corecmsfoodordertagDao.class).clone();
        corecmsfoodordertagDaoConfig.initIdentityScope(type);

        corecmsfoodordertaskDaoConfig = daoConfigMap.get(corecmsfoodordertaskDao.class).clone();
        corecmsfoodordertaskDaoConfig.initIdentityScope(type);

        corecmsfoodpackDaoConfig = daoConfigMap.get(corecmsfoodpackDao.class).clone();
        corecmsfoodpackDaoConfig.initIdentityScope(type);

        corecmsfoodpackdetailDaoConfig = daoConfigMap.get(corecmsfoodpackdetailDao.class).clone();
        corecmsfoodpackdetailDaoConfig.initIdentityScope(type);

        corecmsfoodprintschemeDaoConfig = daoConfigMap.get(corecmsfoodprintschemeDao.class).clone();
        corecmsfoodprintschemeDaoConfig.initIdentityScope(type);

        corecmsfoodsoldoutDaoConfig = daoConfigMap.get(corecmsfoodsoldoutDao.class).clone();
        corecmsfoodsoldoutDaoConfig.initIdentityScope(type);

        corecmsfoodspecDaoConfig = daoConfigMap.get(corecmsfoodspecDao.class).clone();
        corecmsfoodspecDaoConfig.initIdentityScope(type);

        corecmsfoodtagDaoConfig = daoConfigMap.get(corecmsfoodtagDao.class).clone();
        corecmsfoodtagDaoConfig.initIdentityScope(type);

        corecmsfoodtaskDaoConfig = daoConfigMap.get(corecmsfoodtaskDao.class).clone();
        corecmsfoodtaskDaoConfig.initIdentityScope(type);

        corecmsfoodtaskcategoryDaoConfig = daoConfigMap.get(corecmsfoodtaskcategoryDao.class).clone();
        corecmsfoodtaskcategoryDaoConfig.initIdentityScope(type);

        corecmsnumberdetailDaoConfig = daoConfigMap.get(corecmsnumberdetailDao.class).clone();
        corecmsnumberdetailDaoConfig.initIdentityScope(type);

        corecmspaymentsDaoConfig = daoConfigMap.get(corecmspaymentsDao.class).clone();
        corecmspaymentsDaoConfig.initIdentityScope(type);

        corecmsprintbilltemplateDaoConfig = daoConfigMap.get(corecmsprintbilltemplateDao.class).clone();
        corecmsprintbilltemplateDaoConfig.initIdentityScope(type);

        corecmsprintbilltypeDaoConfig = daoConfigMap.get(corecmsprintbilltypeDao.class).clone();
        corecmsprintbilltypeDaoConfig.initIdentityScope(type);

        corecmsprintdeskcategoryDaoConfig = daoConfigMap.get(corecmsprintdeskcategoryDao.class).clone();
        corecmsprintdeskcategoryDaoConfig.initIdentityScope(type);

        corecmsprintschemeDaoConfig = daoConfigMap.get(corecmsprintschemeDao.class).clone();
        corecmsprintschemeDaoConfig.initIdentityScope(type);

        corecmsprintschemedetailDaoConfig = daoConfigMap.get(corecmsprintschemedetailDao.class).clone();
        corecmsprintschemedetailDaoConfig.initIdentityScope(type);

        corecmsprinttaskdetailDaoConfig = daoConfigMap.get(corecmsprinttaskdetailDao.class).clone();
        corecmsprinttaskdetailDaoConfig.initIdentityScope(type);

        corecmsstoreDaoConfig = daoConfigMap.get(corecmsstoreDao.class).clone();
        corecmsstoreDaoConfig.initIdentityScope(type);

        corecmsstoremarketDaoConfig = daoConfigMap.get(corecmsstoremarketDao.class).clone();
        corecmsstoremarketDaoConfig.initIdentityScope(type);

        corecmsuserDaoConfig = daoConfigMap.get(corecmsuserDao.class).clone();
        corecmsuserDaoConfig.initIdentityScope(type);

        corecmsuserdepositrulesDaoConfig = daoConfigMap.get(corecmsuserdepositrulesDao.class).clone();
        corecmsuserdepositrulesDaoConfig.initIdentityScope(type);

        corecmsusergradeDaoConfig = daoConfigMap.get(corecmsusergradeDao.class).clone();
        corecmsusergradeDaoConfig.initIdentityScope(type);

        corecmsuserintegralrulesDaoConfig = daoConfigMap.get(corecmsuserintegralrulesDao.class).clone();
        corecmsuserintegralrulesDaoConfig.initIdentityScope(type);

        corecmsuserpointDaoConfig = daoConfigMap.get(corecmsuserpointDao.class).clone();
        corecmsuserpointDaoConfig.initIdentityScope(type);

        sysroleposDaoConfig = daoConfigMap.get(sysroleposDao.class).clone();
        sysroleposDaoConfig.initIdentityScope(type);

        sysuserDaoConfig = daoConfigMap.get(sysuserDao.class).clone();
        sysuserDaoConfig.initIdentityScope(type);

        goodsDao = new GoodsDao(goodsDaoConfig, this);
        userDao = new UserDao(userDaoConfig, this);
        corecmsdepartmentDao = new corecmsdepartmentDao(corecmsdepartmentDaoConfig, this);
        corecmsdiscountrulesDao = new corecmsdiscountrulesDao(corecmsdiscountrulesDaoConfig, this);
        corecmsexchangeDao = new corecmsexchangeDao(corecmsexchangeDaoConfig, this);
        corecmsfoodDao = new corecmsfoodDao(corecmsfoodDaoConfig, this);
        corecmsfoodcategoryDao = new corecmsfoodcategoryDao(corecmsfoodcategoryDaoConfig, this);
        corecmsfooddeskDao = new corecmsfooddeskDao(corecmsfooddeskDaoConfig, this);
        corecmsfooddeskcategoryDao = new corecmsfooddeskcategoryDao(corecmsfooddeskcategoryDaoConfig, this);
        corecmsfooddetailfeedDao = new corecmsfooddetailfeedDao(corecmsfooddetailfeedDaoConfig, this);
        corecmsfooddetailgroupDao = new corecmsfooddetailgroupDao(corecmsfooddetailgroupDaoConfig, this);
        corecmsfooddetailtaskDao = new corecmsfooddetailtaskDao(corecmsfooddetailtaskDaoConfig, this);
        corecmsfoodfeedDao = new corecmsfoodfeedDao(corecmsfoodfeedDaoConfig, this);
        corecmsfoodfeedcategoryDao = new corecmsfoodfeedcategoryDao(corecmsfoodfeedcategoryDaoConfig, this);
        corecmsfoodgradepriceDao = new corecmsfoodgradepriceDao(corecmsfoodgradepriceDaoConfig, this);
        corecmsfoodgroupdetailDao = new corecmsfoodgroupdetailDao(corecmsfoodgroupdetailDaoConfig, this);
        corecmsfoodorderclassDao = new corecmsfoodorderclassDao(corecmsfoodorderclassDaoConfig, this);
        corecmsfoodorderdetailDao = new corecmsfoodorderdetailDao(corecmsfoodorderdetailDaoConfig, this);
        corecmsfoodorderfeedDao = new corecmsfoodorderfeedDao(corecmsfoodorderfeedDaoConfig, this);
        corecmsfoodorderingDao = new corecmsfoodorderingDao(corecmsfoodorderingDaoConfig, this);
        corecmsfoodorderingfeedDao = new corecmsfoodorderingfeedDao(corecmsfoodorderingfeedDaoConfig, this);
        corecmsfoodorderingmasterDao = new corecmsfoodorderingmasterDao(corecmsfoodorderingmasterDaoConfig, this);
        corecmsfoodorderingtagDao = new corecmsfoodorderingtagDao(corecmsfoodorderingtagDaoConfig, this);
        corecmsfoodorderingtaskDao = new corecmsfoodorderingtaskDao(corecmsfoodorderingtaskDaoConfig, this);
        corecmsfoodordermasterDao = new corecmsfoodordermasterDao(corecmsfoodordermasterDaoConfig, this);
        corecmsfoodorderpaymentDao = new corecmsfoodorderpaymentDao(corecmsfoodorderpaymentDaoConfig, this);
        corecmsfoodordertagDao = new corecmsfoodordertagDao(corecmsfoodordertagDaoConfig, this);
        corecmsfoodordertaskDao = new corecmsfoodordertaskDao(corecmsfoodordertaskDaoConfig, this);
        corecmsfoodpackDao = new corecmsfoodpackDao(corecmsfoodpackDaoConfig, this);
        corecmsfoodpackdetailDao = new corecmsfoodpackdetailDao(corecmsfoodpackdetailDaoConfig, this);
        corecmsfoodprintschemeDao = new corecmsfoodprintschemeDao(corecmsfoodprintschemeDaoConfig, this);
        corecmsfoodsoldoutDao = new corecmsfoodsoldoutDao(corecmsfoodsoldoutDaoConfig, this);
        corecmsfoodspecDao = new corecmsfoodspecDao(corecmsfoodspecDaoConfig, this);
        corecmsfoodtagDao = new corecmsfoodtagDao(corecmsfoodtagDaoConfig, this);
        corecmsfoodtaskDao = new corecmsfoodtaskDao(corecmsfoodtaskDaoConfig, this);
        corecmsfoodtaskcategoryDao = new corecmsfoodtaskcategoryDao(corecmsfoodtaskcategoryDaoConfig, this);
        corecmsnumberdetailDao = new corecmsnumberdetailDao(corecmsnumberdetailDaoConfig, this);
        corecmspaymentsDao = new corecmspaymentsDao(corecmspaymentsDaoConfig, this);
        corecmsprintbilltemplateDao = new corecmsprintbilltemplateDao(corecmsprintbilltemplateDaoConfig, this);
        corecmsprintbilltypeDao = new corecmsprintbilltypeDao(corecmsprintbilltypeDaoConfig, this);
        corecmsprintdeskcategoryDao = new corecmsprintdeskcategoryDao(corecmsprintdeskcategoryDaoConfig, this);
        corecmsprintschemeDao = new corecmsprintschemeDao(corecmsprintschemeDaoConfig, this);
        corecmsprintschemedetailDao = new corecmsprintschemedetailDao(corecmsprintschemedetailDaoConfig, this);
        corecmsprinttaskdetailDao = new corecmsprinttaskdetailDao(corecmsprinttaskdetailDaoConfig, this);
        corecmsstoreDao = new corecmsstoreDao(corecmsstoreDaoConfig, this);
        corecmsstoremarketDao = new corecmsstoremarketDao(corecmsstoremarketDaoConfig, this);
        corecmsuserDao = new corecmsuserDao(corecmsuserDaoConfig, this);
        corecmsuserdepositrulesDao = new corecmsuserdepositrulesDao(corecmsuserdepositrulesDaoConfig, this);
        corecmsusergradeDao = new corecmsusergradeDao(corecmsusergradeDaoConfig, this);
        corecmsuserintegralrulesDao = new corecmsuserintegralrulesDao(corecmsuserintegralrulesDaoConfig, this);
        corecmsuserpointDao = new corecmsuserpointDao(corecmsuserpointDaoConfig, this);
        sysroleposDao = new sysroleposDao(sysroleposDaoConfig, this);
        sysuserDao = new sysuserDao(sysuserDaoConfig, this);

        registerDao(Goods.class, goodsDao);
        registerDao(User.class, userDao);
        registerDao(corecmsdepartment.class, corecmsdepartmentDao);
        registerDao(corecmsdiscountrules.class, corecmsdiscountrulesDao);
        registerDao(corecmsexchange.class, corecmsexchangeDao);
        registerDao(corecmsfood.class, corecmsfoodDao);
        registerDao(corecmsfoodcategory.class, corecmsfoodcategoryDao);
        registerDao(corecmsfooddesk.class, corecmsfooddeskDao);
        registerDao(corecmsfooddeskcategory.class, corecmsfooddeskcategoryDao);
        registerDao(corecmsfooddetailfeed.class, corecmsfooddetailfeedDao);
        registerDao(corecmsfooddetailgroup.class, corecmsfooddetailgroupDao);
        registerDao(corecmsfooddetailtask.class, corecmsfooddetailtaskDao);
        registerDao(corecmsfoodfeed.class, corecmsfoodfeedDao);
        registerDao(corecmsfoodfeedcategory.class, corecmsfoodfeedcategoryDao);
        registerDao(corecmsfoodgradeprice.class, corecmsfoodgradepriceDao);
        registerDao(corecmsfoodgroupdetail.class, corecmsfoodgroupdetailDao);
        registerDao(corecmsfoodorderclass.class, corecmsfoodorderclassDao);
        registerDao(corecmsfoodorderdetail.class, corecmsfoodorderdetailDao);
        registerDao(corecmsfoodorderfeed.class, corecmsfoodorderfeedDao);
        registerDao(corecmsfoodordering.class, corecmsfoodorderingDao);
        registerDao(corecmsfoodorderingfeed.class, corecmsfoodorderingfeedDao);
        registerDao(corecmsfoodorderingmaster.class, corecmsfoodorderingmasterDao);
        registerDao(corecmsfoodorderingtag.class, corecmsfoodorderingtagDao);
        registerDao(corecmsfoodorderingtask.class, corecmsfoodorderingtaskDao);
        registerDao(corecmsfoodordermaster.class, corecmsfoodordermasterDao);
        registerDao(corecmsfoodorderpayment.class, corecmsfoodorderpaymentDao);
        registerDao(corecmsfoodordertag.class, corecmsfoodordertagDao);
        registerDao(corecmsfoodordertask.class, corecmsfoodordertaskDao);
        registerDao(corecmsfoodpack.class, corecmsfoodpackDao);
        registerDao(corecmsfoodpackdetail.class, corecmsfoodpackdetailDao);
        registerDao(corecmsfoodprintscheme.class, corecmsfoodprintschemeDao);
        registerDao(corecmsfoodsoldout.class, corecmsfoodsoldoutDao);
        registerDao(corecmsfoodspec.class, corecmsfoodspecDao);
        registerDao(corecmsfoodtag.class, corecmsfoodtagDao);
        registerDao(corecmsfoodtask.class, corecmsfoodtaskDao);
        registerDao(corecmsfoodtaskcategory.class, corecmsfoodtaskcategoryDao);
        registerDao(corecmsnumberdetail.class, corecmsnumberdetailDao);
        registerDao(corecmspayments.class, corecmspaymentsDao);
        registerDao(corecmsprintbilltemplate.class, corecmsprintbilltemplateDao);
        registerDao(corecmsprintbilltype.class, corecmsprintbilltypeDao);
        registerDao(corecmsprintdeskcategory.class, corecmsprintdeskcategoryDao);
        registerDao(corecmsprintscheme.class, corecmsprintschemeDao);
        registerDao(corecmsprintschemedetail.class, corecmsprintschemedetailDao);
        registerDao(corecmsprinttaskdetail.class, corecmsprinttaskdetailDao);
        registerDao(corecmsstore.class, corecmsstoreDao);
        registerDao(corecmsstoremarket.class, corecmsstoremarketDao);
        registerDao(corecmsuser.class, corecmsuserDao);
        registerDao(corecmsuserdepositrules.class, corecmsuserdepositrulesDao);
        registerDao(corecmsusergrade.class, corecmsusergradeDao);
        registerDao(corecmsuserintegralrules.class, corecmsuserintegralrulesDao);
        registerDao(corecmsuserpoint.class, corecmsuserpointDao);
        registerDao(sysrolepos.class, sysroleposDao);
        registerDao(sysuser.class, sysuserDao);
    }
    
    public void clear() {
        goodsDaoConfig.clearIdentityScope();
        userDaoConfig.clearIdentityScope();
        corecmsdepartmentDaoConfig.clearIdentityScope();
        corecmsdiscountrulesDaoConfig.clearIdentityScope();
        corecmsexchangeDaoConfig.clearIdentityScope();
        corecmsfoodDaoConfig.clearIdentityScope();
        corecmsfoodcategoryDaoConfig.clearIdentityScope();
        corecmsfooddeskDaoConfig.clearIdentityScope();
        corecmsfooddeskcategoryDaoConfig.clearIdentityScope();
        corecmsfooddetailfeedDaoConfig.clearIdentityScope();
        corecmsfooddetailgroupDaoConfig.clearIdentityScope();
        corecmsfooddetailtaskDaoConfig.clearIdentityScope();
        corecmsfoodfeedDaoConfig.clearIdentityScope();
        corecmsfoodfeedcategoryDaoConfig.clearIdentityScope();
        corecmsfoodgradepriceDaoConfig.clearIdentityScope();
        corecmsfoodgroupdetailDaoConfig.clearIdentityScope();
        corecmsfoodorderclassDaoConfig.clearIdentityScope();
        corecmsfoodorderdetailDaoConfig.clearIdentityScope();
        corecmsfoodorderfeedDaoConfig.clearIdentityScope();
        corecmsfoodorderingDaoConfig.clearIdentityScope();
        corecmsfoodorderingfeedDaoConfig.clearIdentityScope();
        corecmsfoodorderingmasterDaoConfig.clearIdentityScope();
        corecmsfoodorderingtagDaoConfig.clearIdentityScope();
        corecmsfoodorderingtaskDaoConfig.clearIdentityScope();
        corecmsfoodordermasterDaoConfig.clearIdentityScope();
        corecmsfoodorderpaymentDaoConfig.clearIdentityScope();
        corecmsfoodordertagDaoConfig.clearIdentityScope();
        corecmsfoodordertaskDaoConfig.clearIdentityScope();
        corecmsfoodpackDaoConfig.clearIdentityScope();
        corecmsfoodpackdetailDaoConfig.clearIdentityScope();
        corecmsfoodprintschemeDaoConfig.clearIdentityScope();
        corecmsfoodsoldoutDaoConfig.clearIdentityScope();
        corecmsfoodspecDaoConfig.clearIdentityScope();
        corecmsfoodtagDaoConfig.clearIdentityScope();
        corecmsfoodtaskDaoConfig.clearIdentityScope();
        corecmsfoodtaskcategoryDaoConfig.clearIdentityScope();
        corecmsnumberdetailDaoConfig.clearIdentityScope();
        corecmspaymentsDaoConfig.clearIdentityScope();
        corecmsprintbilltemplateDaoConfig.clearIdentityScope();
        corecmsprintbilltypeDaoConfig.clearIdentityScope();
        corecmsprintdeskcategoryDaoConfig.clearIdentityScope();
        corecmsprintschemeDaoConfig.clearIdentityScope();
        corecmsprintschemedetailDaoConfig.clearIdentityScope();
        corecmsprinttaskdetailDaoConfig.clearIdentityScope();
        corecmsstoreDaoConfig.clearIdentityScope();
        corecmsstoremarketDaoConfig.clearIdentityScope();
        corecmsuserDaoConfig.clearIdentityScope();
        corecmsuserdepositrulesDaoConfig.clearIdentityScope();
        corecmsusergradeDaoConfig.clearIdentityScope();
        corecmsuserintegralrulesDaoConfig.clearIdentityScope();
        corecmsuserpointDaoConfig.clearIdentityScope();
        sysroleposDaoConfig.clearIdentityScope();
        sysuserDaoConfig.clearIdentityScope();
    }

    public GoodsDao getGoodsDao() {
        return goodsDao;
    }

    public UserDao getUserDao() {
        return userDao;
    }

    public corecmsdepartmentDao getCorecmsdepartmentDao() {
        return corecmsdepartmentDao;
    }

    public corecmsdiscountrulesDao getCorecmsdiscountrulesDao() {
        return corecmsdiscountrulesDao;
    }

    public corecmsexchangeDao getCorecmsexchangeDao() {
        return corecmsexchangeDao;
    }

    public corecmsfoodDao getCorecmsfoodDao() {
        return corecmsfoodDao;
    }

    public corecmsfoodcategoryDao getCorecmsfoodcategoryDao() {
        return corecmsfoodcategoryDao;
    }

    public corecmsfooddeskDao getCorecmsfooddeskDao() {
        return corecmsfooddeskDao;
    }

    public corecmsfooddeskcategoryDao getCorecmsfooddeskcategoryDao() {
        return corecmsfooddeskcategoryDao;
    }

    public corecmsfooddetailfeedDao getCorecmsfooddetailfeedDao() {
        return corecmsfooddetailfeedDao;
    }

    public corecmsfooddetailgroupDao getCorecmsfooddetailgroupDao() {
        return corecmsfooddetailgroupDao;
    }

    public corecmsfooddetailtaskDao getCorecmsfooddetailtaskDao() {
        return corecmsfooddetailtaskDao;
    }

    public corecmsfoodfeedDao getCorecmsfoodfeedDao() {
        return corecmsfoodfeedDao;
    }

    public corecmsfoodfeedcategoryDao getCorecmsfoodfeedcategoryDao() {
        return corecmsfoodfeedcategoryDao;
    }

    public corecmsfoodgradepriceDao getCorecmsfoodgradepriceDao() {
        return corecmsfoodgradepriceDao;
    }

    public corecmsfoodgroupdetailDao getCorecmsfoodgroupdetailDao() {
        return corecmsfoodgroupdetailDao;
    }

    public corecmsfoodorderclassDao getCorecmsfoodorderclassDao() {
        return corecmsfoodorderclassDao;
    }

    public corecmsfoodorderdetailDao getCorecmsfoodorderdetailDao() {
        return corecmsfoodorderdetailDao;
    }

    public corecmsfoodorderfeedDao getCorecmsfoodorderfeedDao() {
        return corecmsfoodorderfeedDao;
    }

    public corecmsfoodorderingDao getCorecmsfoodorderingDao() {
        return corecmsfoodorderingDao;
    }

    public corecmsfoodorderingfeedDao getCorecmsfoodorderingfeedDao() {
        return corecmsfoodorderingfeedDao;
    }

    public corecmsfoodorderingmasterDao getCorecmsfoodorderingmasterDao() {
        return corecmsfoodorderingmasterDao;
    }

    public corecmsfoodorderingtagDao getCorecmsfoodorderingtagDao() {
        return corecmsfoodorderingtagDao;
    }

    public corecmsfoodorderingtaskDao getCorecmsfoodorderingtaskDao() {
        return corecmsfoodorderingtaskDao;
    }

    public corecmsfoodordermasterDao getCorecmsfoodordermasterDao() {
        return corecmsfoodordermasterDao;
    }

    public corecmsfoodorderpaymentDao getCorecmsfoodorderpaymentDao() {
        return corecmsfoodorderpaymentDao;
    }

    public corecmsfoodordertagDao getCorecmsfoodordertagDao() {
        return corecmsfoodordertagDao;
    }

    public corecmsfoodordertaskDao getCorecmsfoodordertaskDao() {
        return corecmsfoodordertaskDao;
    }

    public corecmsfoodpackDao getCorecmsfoodpackDao() {
        return corecmsfoodpackDao;
    }

    public corecmsfoodpackdetailDao getCorecmsfoodpackdetailDao() {
        return corecmsfoodpackdetailDao;
    }

    public corecmsfoodprintschemeDao getCorecmsfoodprintschemeDao() {
        return corecmsfoodprintschemeDao;
    }

    public corecmsfoodsoldoutDao getCorecmsfoodsoldoutDao() {
        return corecmsfoodsoldoutDao;
    }

    public corecmsfoodspecDao getCorecmsfoodspecDao() {
        return corecmsfoodspecDao;
    }

    public corecmsfoodtagDao getCorecmsfoodtagDao() {
        return corecmsfoodtagDao;
    }

    public corecmsfoodtaskDao getCorecmsfoodtaskDao() {
        return corecmsfoodtaskDao;
    }

    public corecmsfoodtaskcategoryDao getCorecmsfoodtaskcategoryDao() {
        return corecmsfoodtaskcategoryDao;
    }

    public corecmsnumberdetailDao getCorecmsnumberdetailDao() {
        return corecmsnumberdetailDao;
    }

    public corecmspaymentsDao getCorecmspaymentsDao() {
        return corecmspaymentsDao;
    }

    public corecmsprintbilltemplateDao getCorecmsprintbilltemplateDao() {
        return corecmsprintbilltemplateDao;
    }

    public corecmsprintbilltypeDao getCorecmsprintbilltypeDao() {
        return corecmsprintbilltypeDao;
    }

    public corecmsprintdeskcategoryDao getCorecmsprintdeskcategoryDao() {
        return corecmsprintdeskcategoryDao;
    }

    public corecmsprintschemeDao getCorecmsprintschemeDao() {
        return corecmsprintschemeDao;
    }

    public corecmsprintschemedetailDao getCorecmsprintschemedetailDao() {
        return corecmsprintschemedetailDao;
    }

    public corecmsprinttaskdetailDao getCorecmsprinttaskdetailDao() {
        return corecmsprinttaskdetailDao;
    }

    public corecmsstoreDao getCorecmsstoreDao() {
        return corecmsstoreDao;
    }

    public corecmsstoremarketDao getCorecmsstoremarketDao() {
        return corecmsstoremarketDao;
    }

    public corecmsuserDao getCorecmsuserDao() {
        return corecmsuserDao;
    }

    public corecmsuserdepositrulesDao getCorecmsuserdepositrulesDao() {
        return corecmsuserdepositrulesDao;
    }

    public corecmsusergradeDao getCorecmsusergradeDao() {
        return corecmsusergradeDao;
    }

    public corecmsuserintegralrulesDao getCorecmsuserintegralrulesDao() {
        return corecmsuserintegralrulesDao;
    }

    public corecmsuserpointDao getCorecmsuserpointDao() {
        return corecmsuserpointDao;
    }

    public sysroleposDao getSysroleposDao() {
        return sysroleposDao;
    }

    public sysuserDao getSysuserDao() {
        return sysuserDao;
    }

}
